package org.potomak.patientmanager.gui;

import java.util.Comparator;

/**
 *
 * @author giovanni
 */
public class ListItemComparator implements Comparator {
    
    public int compare(Object obj1, Object obj2) {
        String value = ((ListItem) obj1).toString();
        String value1 = ((ListItem) obj2).toString();
        
        return value.compareTo(value1);
    }

}